﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using HigLabo.WindowsAzure.RestService.Extensions;

namespace HigLabo.WindowsAzure.RestService.ServiceManagement
{
    public class Endpoints
    {
        public static readonly String ElementName = "Endpoints";

        public String BlobUrl { get; private set; }
        public String QueueUrl { get; private set; }
        public String TableUrl { get; private set; }

        public Endpoints(String serviceName)
        {
            this.BlobUrl = String.Format("http://{0}.blob.core.windows-int.net/", serviceName);
            this.QueueUrl = String.Format("http://{0}.queue.core.windows-int.net/", serviceName);
            this.TableUrl = String.Format("http://{0}.table.core.windows-int.net/", serviceName);
            
        }
    }
}
